﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Smile.Mvvm.Service
{
    public abstract class SearchCriterionBase<T> where T : SearchCriterionBase<T>, new()
    {
        // @Properties
        public static T Empty
        {
            get
            {
                return new T();
            }
        }

        public int MaxResult
        {
            get;
            set;
        }
    }

    public class SearchCriterionBase : SearchCriterionBase<SearchCriterionBase>
    {
    }
}
